package com.wenhai.configuration.metadata;

import com.wenhai.xiaomage.spring.ioc.overview.dependency.domain.Person;
import org.springframework.core.Constants;

/**
 * {@link Constants} 示例
 *
 * @author wenhai
 * @date 2020/9/28
 */
public class ConstantsDemo {
    public static void main(String[] args) {
        Constants constants = new Constants(Person.class);
        System.out.println(constants.asString("name"));
        System.out.println(constants.asString("address"));
    }


}
